import React, {Component} from 'react'
import { Layout } from 'antd'
import 'antd/dist/antd.css'
import { HashRouter } from 'react-router-dom'
import './App.css'
import { Provider } from 'react-redux'
import store from './js/store/index'
import NavLink from './link/link'
import PageContain from './link/router'
const { Sider, Content } = Layout
export default class App extends Component {
  render() {
    return (
      <HashRouter>
        <Provider store={store} >
          <Layout>
            <Sider>
              <NavLink />
            </Sider>
            <Content>
              <PageContain />
            </Content>
          </Layout>
        </Provider>
      </HashRouter>
    )
  }
}

